package com.ruoyi.oa.mapper;

import com.ruoyi.common.annotation.DataColumn;
import com.ruoyi.common.annotation.DataPermission;
import com.ruoyi.oa.domain.OaPurchaseParity;
import com.ruoyi.oa.domain.bo.OaPurchaseApplyBo;
import com.ruoyi.oa.domain.bo.OaPurchaseParityBo;
import com.ruoyi.oa.domain.vo.OaPurchaseParityVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 比价信息Mapper接口
 *
 * @author ruoyi
 * @date 2023-04-03
 */
public interface OaPurchaseParityMapper extends BaseMapperPlus<OaPurchaseParityMapper, OaPurchaseParity, OaPurchaseParityVo> {

    @DataPermission({
        @DataColumn(key = "deptName", value = "dept_id"),
        @DataColumn(key = "userName", value = "user_id")
    })
    List<OaPurchaseParityVo> queryByCondition(OaPurchaseParityBo bo);
}
